package cn.tedu._05mvcboot03.pojo.entity;

import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

/**
 * (MvcArticle)实体类
 *
 * @author makejava
 * @since 2024-05-22 15:19:18
 */
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class MvcArticle implements Serializable {
    private static final long serialVersionUID = 795423917229252669L;
/**
     * 文章编号
     */
    private Long id;
/**
     * 文章标题
     */
    private String title;
/**
     * 文章内容
     */
    private String content;
/**
     * 用户编号
     */
    private Long userId;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

}

